from django.template import Library
from django.template import defaultfilters, defaulttags


register = Library()


@register.simple_tag
def get_all_attrs(arg):
    return dir(arg)


@register.simple_tag
def get_type(arg):
    return type(arg)
